import request from '@/utils/request'

// 根据分类查询
export function activitySByCategoryId(query) {
  return request({
    url: `/admin/comment/activitySByCategoryId`,
    method: 'get',
    params: query
  })
}

//查询评论列表
export function findCommentListByDetailId(page,limit,type,detailId,query) {
  return request({
    url: `/admin/comment/findCommentListByDetailId/${page}/${limit}/${type}/${detailId}`,
    method: 'get',
    params: query
  })
}